package com.gitee.aurora.agent.service.impl;

import com.gitee.aurora.agent.dao.BaqCheckDao;
import com.gitee.aurora.agent.service.BaqCheckService;
import com.gitee.aurora.core.utils.ResultVO;
import com.gitee.aurora.core.utils.ResultVOUtils;
import com.gitee.aurora.agent.vo.DataCheckVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * author: jiangfuxiao
 * Date:2022/9/2 11:34
 */
@Service("baqCheckServiceImpl")
public class BaqCheckServiceImpl implements BaqCheckService {

    @Resource(name = "baqCheckDaoImpl")
    private BaqCheckDao baqDao;

    @Override
    public ResultVO<List<Map<String, Object>>> queryTableData(DataCheckVo vo) {
        return ResultVOUtils.success(baqDao.queryTableData(vo));
    }

}
